On-Demand Refinement of Dependent Types

نویسندگان

  • Hiroshi Unno
  • Naoki Kobayashi
چکیده

Dependent types are useful for statically checking detailed specifications of programs and detecting pattern match or array bounds errors. We propose a novel approach to applications of dependent types to practical programming languages: Instead of requiring programmers’ declaration of dependent function types (as in Dependent ML) or trying to infer them from function definitions only (as in size inference), we mine the output specification of a dependent function from the function’s call sites, and then propagate that specification backward to infer the input specification. We have implemented a prototype type inference system which supports higher-order functions, parametric polymorphism, and algebraic data types based on our approach, and obtained promising experimental results.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Integrated production-Inventory model with price-dependent demand, imperfect quality, and investment in quality and inspection

In practice, manufacturing systems are never perfect and may have low quality outputs. Therefore, different decisions such as reprocessing, sale at lower prices or diminishing are made according to industry and market. This paper investigates the importance of supply chain coordination through developing two models in centralized decision-making for an imperfect quality manufacturing system wit...

متن کامل

Effects of Homogenization Conditions and Hot Rolling Parameters on Grain Refinement of an As-Cast 301 Stainless Steel

 In this work, effects of homogenization time of 3 to 13 h at 1200 °C on the grain refinement of as-cast AISI 301 stainless steel after different hot rolling conditions were investigated. The results showed that the minimum grain size of 16±7 mm was achieved when homogenization took place at 1200 °C for 9 h followed by hot rolling at temperature range of 1000–1200 °C with strain of 0.8 and stra...

متن کامل

An Option-Revenue Sharing Coordination Contract with Price and Sales Effort Dependent Demand

This study proposes a novel option-revenue sharing coordination contract framework. In the proposed model, the retailer determines the number of order sales effort. The manufacturer sets the price of products for the wholesale strategy. The investigated supply chain problem analyzes the results of different strategies. In the proposed coordination contract problem, two types of games including ...

متن کامل

The impact of rice imports on domestic consumer welfare using the inverse demand system

Rice is the second strategic product after wheat and one of the most widely consumed food products in the country. Population growth, consumption and growing demand, price fluctuations and welfare effects due to changes in the amount and price of rice require the attention and planning and foresight of policymakers and the countrychr('39')s planning system. In this study, in the framework of in...

متن کامل

INVENTORY MODEL FOR DETERIORATING ITEMS WITH REVENUE SHARING ON PRESERVATION TECHNOLOGY INVESTMENT UNDER PRICE SENSITIVE STOCK DEPENDENT DEMAND

The objective of this research is to tackle the emerging problem of jointly determining theoptimal retail price, the replenishment cycle, and the cost of preservation technology investment from an integrated perspective among the supplier and the manufacturer. This paper deals an integrated single-manufacturer single-retailer supply chain model for deteriorating items under revenue sharing on p...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008